package com.cqjtu.drive.service;

import com.cqjtu.drive.pojo.User;
import com.cqjtu.drive.response.Response;

import java.util.List;
import java.util.Map;

/**
 * @Author zxl
 * @Date 2024/6/6 12:39
 */
public interface UserService {
    Response<User> register(Map<String, String> map);

    Response<User> login(String userName,String Password);
    Response<User> delete(String userId);

    Response<List<User>> getAll();

    Response<User> getByAccount(String userAccount);
}
